/*
 * @Author: heinan
 * @Date: 2021-07-15 11:23:32
 * @Last Modified by: heinan
 * @Last Modified time: 2021-07-15 12:40:17
 */
import request from "@/utils/request";

export function getList() {
  const url = "/getGroupsList";
  return request.get(url);
}

export function addList(title) {
  console.log(title);
  const url = "/addGroupsList";
  return request.post(url, {
    title: title,
  });
}
